<?php foreach($categories as $category): ?>
<?php   echo $category[0]->getTitle();  ?>
<br />
<?php foreach($category[1] as $subcategory): ?>
 <br />
 -- <?php echo $subcategory->getTitle(); ?>
 <br />
<?php endforeach; ?>
 <br /> 
<?php endforeach; ?>
<div class="Head"><h2>article categories</h2></div>
<div class="Middle">
        <ul>
                <li><a href="#">Business</a></li>
                <li><a href="#">Internet and Businesses Online</a></li>
                <li><a href="#">Finance</a></li>
                <li><a href="#">Investing</a></li>
                <li><a href="#">Insurance</a></li>
                <li><a href="#">Legal</a></li>
                <li><a href="#">Real Estate</a></li>
                <li><a href="#">Home Based Business</a></li>
                <li><a href="#">Writing and Speaking</a></li>
        </ul>
        <ul>
                <li><a href="#">Business</a></li>
                <li><a href="#">Internet and Businesses Online</a></li>
                <li><a href="#">Finance</a></li>
                <li><a href="#">Investing</a></li>
                <li><a href="#">Insurance</a></li>
                <li><a href="#">Legal</a></li>
                <li><a href="#">Real Estate</a></li>
                <li><a href="#">Home Based Business</a></li>
                <li><a href="#">Writing and Speaking</a></li>
        </ul>
        <ul>
                <li><a href="#">Business</a></li>
                <li><a href="#">Internet and Businesses Online</a></li>
                <li><a href="#">Finance</a></li>
                <li><a href="#">Investing</a></li>
                <li><a href="#">Insurance</a></li>
                <li><a href="#">Legal</a></li>
                <li><a href="#">Real Estate</a></li>
                <li><a href="#">Home Based Business</a></li>
                <li><a href="#">Writing and Speaking</a></li>
        </ul>
</div>
<div class="Bottom"><b class="rbottom"><b class="r4"></b><b class="r3"></b><b class="r2"></b></b></div>